DataConnector | ComponentOne
C1.AdoNet.D365S Assembly / C1.DataConnector.AdoNet Namespace / DbCommandWrap<TInnerConnection,TInnerCommand,TInnerParameter> Class / ExecuteDbDataReaderAsync Method
An instance of System.Data.CommandBehavior.
The token to monitor for cancellation requests.

In This Topic
    ExecuteDbDataReaderAsync Method (DbCommandWrap<TInnerConnection,TInnerCommand,TInnerParameter>)
    In This Topic
    An asynchronous version of method ExecuteDbDataReader that executes the command text against the connection.
    Syntax
    'Declaration
     
    Protected Overrides Function ExecuteDbDataReaderAsync( _
       ByVal behavior As CommandBehavior, _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of DbDataReader)
    protected override Task<DbDataReader> ExecuteDbDataReaderAsync( 
       CommandBehavior behavior,
       CancellationToken cancellationToken
    )

    Parameters

    behavior
    An instance of System.Data.CommandBehavior.
    cancellationToken
    The token to monitor for cancellation requests.
    See Also